package com;

public class Car {
    private  String brand;
    private Float price;

    public Car(){
        System.out.println("car实例被创建");
    }
    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }
}
